<template>
  <div>
    <div class="swiper-container">
      <div class="swiper-wrapper">
        <div
          class="swiper-slide"
          style="
            background-image: url(https://photo7n.gracg.com/eefdb78dbc088e47d0fd4a6160e992c1.jpg);
          "
        ></div>
      </div>
      <div class="buttons">
        <div class="swiper-button-prev swiper-button-white"></div>
        <div class="swiper-button-next swiper-button-white"></div>
      </div>
    </div>
  </div>
</template>

<script>
import Swiper from "../assets/swiper/dist/js/swiper.min.js";
import "../assets/swiper/dist/css/swiper.min.css";
export default {
  mounted() {
    var mySwiper = new Swiper(".swiper-container", {
      autoplay: 0,
      prevButton: ".swiper-button-prev",
      nextButton: ".swiper-button-next",
    });
  },
};
</script>

<style lang="less" scoped>
.swiper-container {
  height: 281px;
  width: 100%;
  .swiper-wrapper {
    height: 280px;
    background-size: cover;
  }
}
</style>